Deterministic Regular Expressions with Interleaving
نویسندگان
چکیده
We study the determinism checking problem for regular expressions extended with interleaving. There are two notions of determinism, i.e., strong and weak determinism. Interleaving allows child elements intermix in any order. Although interleaving does not increase the expressive power of regular expressions, its use makes the sizes of regular expressions be exponentially more succinct. We first show an O(|Σ||E|) time algorithm to check the weak determinism of such expressions, where Σ is the set of distinct symbols in the expression. Next, we derive an O(|E|) method to transform a regular expression with interleaving to its weakly star normal form which can be used to rewrite an expression that is weakly but not strongly deterministic into an equivalent strongly deterministic expression in linear time. Based on this form, we present an O(|Σ||E|) algorithm to check strong determinism. As far as we know, they are the first O(|Σ||E|) time algorithms proposed for solving the weak and strong determinism problems of regular expressions with interleaving.
منابع مشابه
Succinctness of Regular Expressions with Interleaving, Intersection and Counting
Studying the impact of operations, such as intersection and interleaving, on the succinctness of regular expressions has recently received renewed attention [12–14]. In this paper, we study the succinctness of regular expressions (REs) extended with interleaving, intersection and counting operators. We show that in a translation from REs with interleaving to standard regular expressions a doubl...
متن کاملTight Bounds on the Descriptional Complexity of Regular Expressions
We improve on some recent results on lower bounds for conversion problems for regular expressions. In particular we consider the conversion of planar deterministic finite automata to regular expressions, study the effect of the complementation operation on the descriptional complexity of regular expressions, and the conversion of regular expressions extended by adding intersection or interleavi...
متن کاملModeling of Distributed Systems by Concurrent Regular Expressions
We propose an algebraic model called concurrent regular expressions for modeling and analysis of distributed systems. These expressions extend regular expressions with four operators-interleaving, interleaving closure, synchronous composition and renaming. Their expressive power is equivalent to those of Petri nets, and therefore they are more general than Path expressions and COSY expressions.
متن کاملConcurrent Regular Expressions and Their Relationship to Petri Nets
We deene algebraic systems called concurrent regular expressions which provide a modular description of languages of Petri nets. Concurrent regular expressions are extension of regular expressions with four operators-interleaving, interleaving closure, synchronous composition and renaming. This alternative characterization of Petri net languages gives us a exible way of specifying concurrent sy...
متن کاملOptimizing Schema Languages for XML: Numerical Constraints and Interleaving
The presence of a schema offers many advantages in processing, translating, querying, and storage of XML data. Basic decision problems like equivalence, inclusion, and non-emptiness of intersection of schemas form the basic building blocks for schema optimization and integration, and algorithms for static analysis of transformations. It is thereby paramount to establish the exact complexity of ...
متن کامل